/*
 * @Description  :
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-03-10 11:19:00
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-05-12 15:36:23
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\services\\rebate-management.service.ts
 * Copyright (C) 2022 huzhenhong. All rights reserved.
 */
import { Injectable, Injector } from '@angular/core';
import { BaseService } from '@shared';

@Injectable({
  providedIn: 'root'
})
export class RebateManagementService extends BaseService {
  // 查询规则抽查列表
  public $api_get_listCompliancePage = '/api/sdc/billRiskOperate/listRiskPage';
  // 查询返佣配置表
  public $api_get_rebateConfig = '/api/mdc/rebateConfig/list/page';
  // 保存返佣配置表
  public $api_save_rebateConfig = '/api/mdc/rebateConfig/save';
  // 启用/禁用返佣配置
  public $api_set_updateRebateConfig = '/api/mdc/rebateConfig/updateRebateConfig';

  // 运营端查询合伙人返佣
  public $api_get_getIncomeByBillpage = '/api/bpc/partnerIncomeHead/getIncomeByBillpage';
  // 获取返佣模板信息
  public $api_get_getPartnerRebateConfigInfo = '/api/mdc/rebateConfig/getPartnerRebateConfigInfo';
  // 合伙人管理/返佣管理/返佣明细
  public $api_get_searchPageList = '/api/fcc/billPaymentApplicationOBC/list/searchPageList';
  // 合伙人管理/返佣管理/退款返佣明细
  public $api_get_searchRefundPageList = '/api/fcc/billPaymentApplicationOBC/list/searchRefundPageList'; // 查询合伙人信息-分页
  public $api_get_partner_page = '/api/mdc/partner/list/page'; 
  
  // 查询查询返佣记录列表-分页
  public $api_get_partnerIncomeHead = '/api/fcc/partnerIncomeHead/list/rebate'; 
  // 查询返佣记录明细
  public $api_get_partnerIncomeDetail = '/api/fcc/partnerIncomeDetail/rebate/detail';
  // 导出返佣记录明细
  public $api_get_partnerIncomeHead_export = '/api/fcc/partnerIncomeDetail/rebate/detail/export';
  // 根据合伙人id、年、月 查询异常反馈信息(反馈异常查下)
  public $api_get_getExceptionMessage = '/api/fcc/partnerIncomeDetailException/getExceptionMessage';
  // 保存合伙人收益账单详情-异常反馈表(反馈异常提交)
  public $api_get_partnerIncomeExceptionAdd = '/api/fcc/partnerIncomeDetailException/partnerIncomeExceptionAdd';
  constructor(public injector: Injector) {
    super(injector);
  }
}
